<include path="header" />
   <div class="m-title">
    <ul> 
      <li>记事</li>
      <li class="right"><a href="notelist">返回 记事本</a></li>
      <li></li>
    </ul>
  </div>
    <div id="noteadd">
    <form method="post" onsubmit="note_commit('MsgFrame','subject'); return false;">
    	<input id="noteid" name="notepad_id" type="hidden" value="<?=$n['notepad_id']?>" />
    	<div class="block">
        	<input name="subject" type="text" class="subject" value="<?=$n['subject']?>" />
        </div>
        <div id="notearea">
      	  <div class="toolbar">	
			<span onclick="t('bold')"><img src="/image/bold.png"/></span>
			<span onclick="t('UnderLine')"><img src="/image/underline.png"/></span>
			<span id="colorwheel" onclick="ShowPanel();"><img src="/image/color.png" alt="clrDlg" /></span>
			<div id="colorpanel"></div>    
		  </div>
		  <iframe style="width: 100%; height:100" frameborder="1" id="MsgFrame"></iframe> 	
          <script> 
			document.getElementById("MsgFrame").contentWindow.document.getElementsByTagName("body")[0].innerHTML='<?=$n['message']?>'; 
			editframe("MsgFrame");  
		  </script>          
		</div>	
        <div class="block">
        	<input type="submit" class="button" value="保存" />&nbsp;&nbsp;
        </div>
    </form> 
    </div>  
    <div>
    </div>
<include path="footer" />